<?php
$client = new \Yar_Client('请求接口地址');
var_dump($client);
//$client->SetOpt(YAR_OPT_PACKAGER,'php');  //注意tp5只能用php  msgpack以及json报错
echo $client->index(), PHP_EOL;

echo $client->test(5201314), PHP_EOL;